#ifndef BASE_ADDER_TEXT_ADDER_H
#define BASE_ADDER_TEXT_ADDER_H
#include "IAdder.h"

#include <memory>
#include <opencv4/opencv2/opencv.hpp>

class ICodec;
class TextAdder : public IAdder {
public:
    TextAdder();
    void setInitialContent(const std::string& initialContent);
    std::string addMark();
private:
    static void saveFile(const std::string &fileName, const std::string &fileContent);
    static void saveFile(const std::string &fileName, cv::Mat fileContent);
    static void deleteFile(const std::string &fileName);
    std::shared_ptr<ICodec> ICodec_;
};



#endif